package com.rightsidetech.user.dtos.requst;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class AliPayGetPhoneReq implements Serializable {
    @ApiModelProperty("解析内容")
    @NotEmpty(message = "解密内容不能为空")
    private String content;
    @ApiModelProperty("userId")
    @NotEmpty(message = "userId不能为空")
    private String userId;


    @ApiModelProperty("头像")
    @Length(max = 255,message = "头像参数长度不合法")
    private String headImg;

    @ApiModelProperty("昵称")
    @Length(max = 20,message = "昵称最大20个字符")
    private String petName;
}
